.class Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;
.super Ljava/lang/Object;
.source "ViewImage21.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->R()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:[Ljava/lang/CharSequence;

.field final synthetic b:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;[Ljava/lang/CharSequence;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;->b:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;->a:[Ljava/lang/CharSequence;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;->a:[Ljava/lang/CharSequence;

    aget-object p1, p1, p2

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/Object;)I

    move-result p1

    int-to-long p1, p1

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-lez v2, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;->b:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-wide v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    cmp-long v3, v1, p1

    if-eqz v3, :cond_0

    .line 3
    iput-wide p1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    .line 4
    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Landroid/content/SharedPreferences;

    move-result-object p1

    invoke-interface {p1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object p1

    .line 5
    iget-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$u;->b:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-wide v0, p2, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->S:J

    const-string p2, "slide_setting_interval"

    invoke-interface {p1, p2, v0, v1}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;

    .line 6
    invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    :cond_0
    return-void
.end method
